import './index.scss'

export const waves = {
  bind(el, binding) {
    const btn = el
    if(btn.classList.contains(`${binding.name}`)){
      console.log('you')
    }else{
      console.log('meiyou')
      btn.className = `${binding.name}`
    }
  },
  inserted(el, binding) {
    console.log(el, binding)
  },
  update(el, binding) {
    console.log(el, binding)
  },
  componentUpdated(el, binding) {
    console.log(el, binding)
  },
  unbind(el, binding) {
    console.log(el, binding)
  },
}